package kr.hkit.PowerJava.chapter08.work;

public class Programming5 {
     private String name;
     private String phone;
     private int yearpay;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getYearpay() {
		return yearpay;
	}
	public void setYearpay(int yearpay) {
		this.yearpay = yearpay;
	}
	@Override
	public String toString() {
		return "Employee [name=" + name + ", phone=" + phone + ", yearpay="
				+ yearpay + "]";
	}
  }
